<template>
  <div>
   
    <router-link to="/home">首页</router-link>
    &nbsp;
    <router-link to="/type">分类</router-link>
    &nbsp;
    <router-link to="/order">订单</router-link>
    &nbsp;
    <router-link to="/my">我的</router-link>
 <h3>显示路由切换的页面</h3>
    <router-view></router-view>
  </div>
</template>

<script>
import MyHome from "./views/MyHome";
import MyType from "./views/MyType";
import MyOrder from "./views/MyOrder";
import My from "./views/My";
export default {
  components: {
    MyHome,
    MyType,
    MyOrder,
    My
  },
};
</script>

<style>
</style>